//
//  PiceModel.swift
//  Day06-JSONSwift
//
//  Created by 刘观华 on 2022/8/2.
//

import Foundation
import HandyJSON
import UIKit

class Geo:HandyJSON{
    var lat:Float?
    var lng:Float?
    required init() {}
}

class Address:HandyJSON{
    var street:String?
    var suite:String?
    var city:String?
    var zipcode:String?
    var geo:Geo?
    required init() {}
}

class CompanyModel:HandyJSON {
    var name: String?
    var catchPhrase: String?
    var bs: String?
    required init() {}
}

class PicModel:HandyJSON{
    var id:Int?
    var name:String?
    var username:String?
    var email:String?
    var address:Address?
    var phone: String?
    var website: String?
    var company:CompanyModel?
    required init() {}
}
